'''
Created on 2009-11-17

@author: Jialai_Zhu
'''


class fileio(object):
    def __init__(self,name):
        self.name=name
    def dump(self,data):            
        f = file(self.name, 'w')
        f.write(data)
        f.close()   